<div id="main">
    <form action="?post" method="post">
        <table cellspacing="0" class="form">
            <tr>
                <th colspan="2">用户名</th>
            </tr>
            <tr class="noborder">
                <td class="field" colspan="2"><?php echo $record['name'] ?></td>
            </tr>
            <tr>
                <th colspan="2">原密码</th>
            </tr>
            <tr class="noborder">
                <td class="field"><?php echo Form::password('original_password', NULL, array('class' => 'txt')) ?></td>
                <td>请输入当前密码</td>
            </tr>
            <tr>
                <th colspan="2">密　码</th>
            </tr>
            <tr class="noborder">
                <td class="field"><?php echo Form::password('password', NULL, array('class' => 'txt')) ?></td>
                <td>为确保安全，密码至少8位</td>
            </tr>
            <tr>
                <th colspan="2">确认密码</th>
            </tr>
            <tr class="noborder">
                <td class="field"><?php echo Form::password('password_confirm', NULL, array('class' => 'txt')) ?></td>
                <td>请再输入一遍</td>
            </tr>
            <tr>
                <td colspan="2">
                    <?php echo Form::hidden('id', $record['id']) ?>
                    <?php echo Form::submit(NULL, '提交', array('class' => 'btn')) ?>
                    <?php echo Form::input(NULL, '返回', array('type' => 'reset', 'class' => 'btn', 'onclick' => "window.history.back();")) ?>
                </td>
            </tr>
        </table>
    </form>
</div>